package com.intellagric.service.iftmonitor.ift_warning_config;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.pojo.IftWarningConfig;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/25
 * @DESC： 预警阈值配置信息服务接口
 */
public interface WarningConfigService  {

    //增加预警阈值配置信息
    ResponseMessage addWarningConfig(IftWarningConfig warningConfig);

    //删除预警阈值配置信息
    ResponseMessage deleteWarningConfig(String id);

    //修改预警阈值配置信息
    ResponseMessage editWarningConfig(IftWarningConfig warningConfig);

    //查询预警阈值配置信息
    IftWarningConfig getWarningConfigById(String id);
    LayuiDataGridResult getWarningConfigList();
    LayuiDataGridResult getWarningConfigListByScenery(String sceneId);
    LayuiDataGridResult getWarningConfigListBySceneryAndChannel(String sceneId,String channelId);
    LayuiDataGridResult getWarningConfigPage(int page, int rows);

}
